package com.demo.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
//@Builder
//@NoArgsConstructor
//@AllArgsConstructor
public class LogDTO implements Serializable {
    @NotNull(message = "ID不能为空")
    private String id;
    private Integer type;
    private String objectId;
    private String userId;
    private LocalDateTime operationTime;
    private String operationResult;
    private String note;
}
